package com.xuecheng.content.mapper;

import com.xuecheng.content.dto.TeachplanDto;
import com.xuecheng.content.entity.Teachplan;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author lenovo
* @description 针对表【teachplan(课程计划)】的数据库操作Mapper
* @createDate 2025-03-29 09:53:31
* @Entity com.xuecheng.content.entity.Teachplan
*/
public interface TeachplanMapper extends BaseMapper<Teachplan> {

    /**
     * 查询课程的课程计划
     * @param courseId
     * @return
     */
    List<TeachplanDto> selectTreeNodes(Long courseId);
}




